package noppes.vc.items;

import net.minecraft.entity.EntityLivingBase;
import net.minecraft.item.IItemPropertyGetter;
import net.minecraft.item.ItemStack;
import net.minecraft.world.World;
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.relauncher.SideOnly;

class ItemMusicOracina$2 implements IItemPropertyGetter {
   // $FF: synthetic field
   final ItemMusicOracina this$0;

   ItemMusicOracina$2(ItemMusicOracina this$0) {
      this.this$0 = this$0;
   }

   @SideOnly(Side.CLIENT)
   public float apply(ItemStack stack, World worldIn, EntityLivingBase entityIn) {
      return entityIn != null && entityIn.isHandActive() && entityIn.getActiveItemStack() == stack ? 1.0F : 0.0F;
   }
}
